<?xml version='1.0' encoding='UTF-8' ?>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core">

<h:head>
	JSF - Browser search
</h:head>
<h:body>
	<h:form id="formPrincipal">
		Parámetro búsqueda:
		<h:inputText value="#{searchBrowserBean.searchString}" required="true"/>
		<br />

		Buscador: 
		<h:selectOneMenu value="#{searchBrowserBean.searchEngine}" required="true">
			<f:selectItems value="#{searchBrowserBean.searchEnginesList}" />
		</h:selectOneMenu>
		<br />

		<h:commandButton id="Boton" value="Realizar búsqueda"
			action="#{searchBrowserBean.doSearch()}" />
	</h:form>
</h:body>

</html>